//
//  UIView+Extension.h
//
//  Created by maker on 16/1/10.
//  Copyright © 2017年 刘甲奇. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Extension)
/**
 *  【注意】在分类中写属性，不能生成getter方法和setter方法的实现，
        也不能生成带有下划线的成员变量。
        要想读写这些属性  getter方法和setter方法的实现，
 */

@property (nonatomic,assign)CGFloat left;
@property (nonatomic,assign)CGFloat right;
@property (nonatomic,assign)CGFloat top;
@property (nonatomic,assign)CGFloat bottom;

@property (nonatomic,assign)CGSize size;
@property (nonatomic,assign)CGFloat height;
@property (nonatomic,assign)CGFloat width;

@property (nonatomic,assign)CGFloat centerX;
@property (nonatomic,assign)CGFloat centerY;

+ (UIView *)getNibView:(NSString *)nibName;
@end


